FROM ubuntu:22.04
RUN sed -i 's/archive.ubuntu/mirrors.aliyun/g' /etc/apt/sources.list \
  && apt update \
  && apt install -y libsm6 libxrender1 libxext6 libxdamage1 libxfixes3 libxcomposite1 libxrandr2 libxtst6
ADD webrtc-streamer-v0.8.6-Linux-x86_64-Release.tar.gz /
WORKDIR /webrtc-streamer-v0.8.6-Linux-x86_64-Release
EXPOSE 8000
CMD ["./webrtc-streamer"]
